// cResolveQuestionDialog.cpp : implementation file
//

#include "stdafx.h"
#include "qpmig.h"
#include "cResolveQuestionDialog.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// cResolveQuestionDialog dialog


cResolveQuestionDialog::cResolveQuestionDialog(const char *prompt,CWnd* pParent /*=NULL*/)
	: CDialog(cResolveQuestionDialog::IDD, pParent)
{
	//{{AFX_DATA_INIT(cResolveQuestionDialog)
	m_Prompt = prompt;
	//}}AFX_DATA_INIT
}


void cResolveQuestionDialog::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(cResolveQuestionDialog)
	DDX_Text(pDX, IDC_PROMPT, m_Prompt);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(cResolveQuestionDialog, CDialog)
	//{{AFX_MSG_MAP(cResolveQuestionDialog)
	ON_BN_CLICKED(IDALL, OnAll)
	ON_BN_CLICKED(IDYES, OnYes)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// cResolveQuestionDialog message handlers

void cResolveQuestionDialog::OnAll() 
{
	EndDialog(IDALL);
	
}

void cResolveQuestionDialog::OnYes() 
{
		EndDialog(IDYES);
}

void cResolveQuestionDialog::OnCancel() 
{
	// TODO: Add extra cleanup here
	
	CDialog::OnCancel();
}

BOOL cResolveQuestionDialog::OnInitDialog() 
{
	
	CDialog::OnInitDialog();
	
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}
